package com.atguigu.gmall.product.service;

import com.atguigu.gmall.model.product.entity.BaseAttrInfo;
import com.atguigu.gmall.model.product.vo.BaseAttrInfoVO;
import com.atguigu.gmall.model.search.SearchAttr;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author jiamin
* @description 针对表【base_attr_info(属性表)】的数据库操作Service
* @createDate 2023-08-14 20:41:58
*/
public interface BaseAttrInfoService extends IService<BaseAttrInfo> {

    List<BaseAttrInfo> attrInfoList(Long category1Id, Long category2Id, Long category3Id);


    void saveAttrInfo(BaseAttrInfoVO baseAttrInfoVO);

    void updateAttrInfo(BaseAttrInfoVO baseAttrInfoVO);

    List<SearchAttr> getAttrInfoAndValue(Long skuId);
}
